#include<iostream>
using namespace std;

short int x;
short int y;
short int z;

int main()
{
  x = 1e20;
  y = -1e20;
  z = 3.14;

  cout << "short int x/y/z" << endl;
  cout << " (x + y) + z = " << (x +y) + z << endl;
  cout << " x + (y + z) = " << x + (y + z) << endl;

float x;
float y;
float z;

  x = 1e20;
  y = -1e20;
  z = 3.14;

  cout << "\nfloat x/y/z" << endl;
  cout << " (x + y) + z = " << (x +y) + z << endl;
  cout << " x + (y + z) = " << x + (y + z) << endl;

  return 0;
}
